import 'package:fluro/fluro.dart';
import 'package:flutter/material.dart';

import './router_handler.dart';

class Routes {
  static String root = "/";

  static String orderPlaceProcess = "../pages/orderPlaceProcess";
  static String orderPayment = "../pages/orderPayment";
  static String userInfor = "../pages/userInfor";
  static String initBankCard = "../pages/initBankCard";
  static String initTao = "../pages/initTao";
  static String taoList = "../pages/taoList";
  static String cashOut = "../pages/cashOut";
  static String invitation = "../pages/invitation";
  static String incentiveDetails = "../pages/incentiveDetails";
  static String fundsDetails = "../pages/fundsDetails";
  static String noticeList = "../pages/noticeList";
  static String noticeDetails = "../pages/noticeDetails";
  static String waitReturn = "../pages/waitReturn";
  static String login = "../pages/login";
  static String register = "../pages/register";
  static String verifyCode = "../pages/verifyCode";
  static String commonProblem = "../pages/commonProblem";
  static String messageDetails = "../pages/messageDetails";
  static String memberPage = "../pages/memberPage";
  static String myMoney = "../pages/myMoney";
  static String myGold = "../pages/myGold";
  static String representationList = "../pages/representationList";
  static String representationDetails = "../pages/representationDetails";
  static String addRepresentation = "../pages/addRepresentation";
  static String showBigImage = "../pages/showBigImage";
  static String initPlatAccount = "../pages/initPlatAccount";
  static String userTags = "../pages/userTags";
  static String order = "../pages/order";
  static String taskDetail = "../pages/taskDetail";
  static String taskStep = "../pages/taskStep";
  static String share = "../pages/share";
  static String myIncome = "../pages/myIncome";
  static String realNameInfor = "../pages/realNameInfor";
  static String moneyFlow = "../pages/moneyFlow";
  static String goldFlow = "../pages/goldFlow";
  static String ts = "../pages/ts";
  static String shareTs = "../pages/shareTs";
  static String setPwd = "../pages/setPwd";
  static String inputInvitationCode = "../pages/inputInvitationCode";
  static String changePwd = "../pages/changePwd";






  static void configureRoutes(Router router) {

    router.notFoundHandler = new Handler(
        handlerFunc:
            (BuildContext context, Map<String, List<String>> params) {});

    router.define(orderPlaceProcess, handler: orderPlaceProcessHandler);
    router.define(orderPayment, handler: orderPaymentHandler);

    router.define(userInfor, handler: userInforHandler);

    router.define(initBankCard, handler: initBankCardHandler);
    router.define(taoList, handler: taoListHandler);
    router.define(cashOut, handler: cashOutHandler);
    router.define(invitation, handler: invitationHandler);
    router.define(incentiveDetails, handler: incentiveDetailsHandler);
    router.define(fundsDetails, handler: fundsDetailsHandler);
    router.define(noticeList, handler: noticeListHandler);
    router.define(noticeDetails, handler: noticeDetailsHandler);
    router.define(waitReturn, handler: waitReturnHandler);
    router.define(login, handler: loginHandler);
    router.define(register, handler: registerHandler);
    router.define(verifyCode, handler: verifyCodeHandler);
    router.define(commonProblem, handler: commonProblemHandler);
    router.define(messageDetails, handler: messageDetailsHandler);
    router.define(memberPage, handler: memberPageHandler);
    router.define(myMoney, handler: myMoneyHandler);
    router.define(myGold, handler: myGoldHandler);
    router.define(representationList, handler: representationListHandler);
    router.define(representationDetails, handler: representationDetailsHandler);
    router.define(addRepresentation, handler: addRepresentationHandler);
    router.define(showBigImage, handler: showBigImageHandler);
    router.define(initPlatAccount, handler: initPlatAccountHandler);
    router.define(userTags, handler: userTagsHandler);
    router.define(order, handler: orderHandler);
    router.define(taskDetail, handler: taskDetailHandler);
    router.define(taskStep, handler: taskStepHandler);
    router.define(share, handler: shareHandler);
    router.define(myIncome, handler: myIncomeHandler);
    router.define(realNameInfor, handler: realNameInforHandler);
    router.define(moneyFlow, handler: moneyFlowHandler);
    router.define(goldFlow, handler: goldFlowHandler);
    router.define(ts, handler: tsHandler);
    router.define(shareTs, handler: shareTsHandler);
    router.define(setPwd, handler: setPwdHandler);
    router.define(inputInvitationCode, handler: inputInvitationCodeHandler);
    router.define(changePwd, handler: changePwdHandler);
  }
}
